package com.yuanhua.xcxmng.wechat.mapper;

import com.yuanhua.xcxmng.wechat.entity.UserRun;
import com.yuanhua.xcxmng.wechat.entity.UserRunQuery;

import java.util.Date;
import java.util.List;

public interface UserRunMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserRun record);

    int insertSelective(UserRun record);

    UserRun selectByPrimaryKey(Long id);

    UserRun selectByOpenIdDate(UserRun record);

    int updateByPrimaryKeySelective(UserRun record);

    int updateByPrimaryKey(UserRun record);

    UserRun selectByOpenIdDate(String openId, Date date);

    List<UserRun> selectByOpenIdDateInteval(UserRunQuery query);
}